package com.baidu.mpks.schema.dto;

import com.baidu.mpks.schema.domain.UserSchema;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.JsonNode;
import lombok.Data;

import java.util.List;
import java.util.Set;

@Data
public class UserSchemaClassDto extends UserSchema {

    private Integer id;
    @JsonProperty("@id")
    private String atId;
    @JsonProperty("@type")
    private String atType;
    private JsonNode comment;
    private JsonNode label;
    private List<String> subClassOf;
    private List<String> supClassOf;
    private List<String> properties;
    private Integer type;
    private Integer edit;
    private String updateBy;
    private Integer isEncryption;
    private Integer hasPermission;
    private Set<Integer> selfRoles;
    private Set<Integer> parentRoles;
    private String schemaId;
    private Integer pid;
}
